#include<iostream>
using namespace std;
int exam5_23()
{
	char s[5];
	int x = 0, y = 0, n = 0;
	while ((s[n] = getchar()) != '+')
	{
		x = x * 10 + s[n] - '0';
		n++;
	}
	while ((s[n] = getchar()) != '\n')
	{
		y = y * 10 + s[n] - '0';
		n++;
	}
	cout << x + y;
	return 0;
}